# Build the Client

include(LibraryUtils)

SET(XYNILEX_CLIENT_SRCS
  Client.cxx
)

LibName(XylexCommon TRUE)
LibName(XylexGraphics TRUE)
LibName(XylexGUI TRUE)
LibName(XylexInput TRUE)
LibName(XylexNetwork TRUE)
LibName(XylexPhysics TRUE)
LibName(XylexSound TRUE)

ADD_EXECUTABLE(XylexClient ${XYNILEX_CLIENT_SRCS})
TARGET_LINK_LIBRARIES(XylexClient
  XylexCommon
  XylexGraphics
  XylexGUI
  XylexInput
  XylexNetwork
  XylexPhysics
  XylexSound
  ${Bullet_LIBRARIES}
  ${cAudio_LIBRARIES}
  ${MyGUI_LIBRARIES}
  ${OGRE_LIBRARIES}
  ${OIS_LIBRARIES}
#  ${XylexCommon_LIBRARIES}
#  ${XylexGraphics_LIBRARIES}
#  ${XylexGUI_LIBRARIES}
#  ${XylexInput_LIBRARIES}
#  ${XylexNetwork_LIBRARIES}
#  ${XylexPhysics_LIBRARIES}
#  ${XylexSound_LIBRARIES}
)
